import vip0 from '@renderer/assets/Lv.png';
import vip1 from '@renderer/assets/创享青铜vip1.png';
import vip2 from '@renderer/assets/创享白银vip2.png';
import vip3 from '@renderer/assets/创享黄金vip3.png';
import vip4 from '@renderer/assets/创享紫金vip2.png';
import vip5 from '@renderer/assets/创享钻石vip5.png';
import vip6 from '@renderer/assets/黑创享至尊vip6.png';

const vipLevel = {
    VIP_LEVEL0: { text: '不是VIP', png: vip0 },
    VIP_LEVEL1: { text: 'VIP', png: vip1 },
    VIP_LEVEL2: { text: '有点牛B-VIP', png: vip2 },
    VIP_LEVEL3: { text: '牛B-VIP', png: vip3 },
    VIP_LEVEL4: { text: '超级VIP', png: vip4 },
    VIP_LEVEL5: { text: '超超超级VIP', png: vip5 },
    VIP_LEVEL6: { text: '超超超超级至尊VIP', png: vip6 },
};

export function getVipLevelPng(level) {
    if (level < 0) level = 0;
    if (level > 6) level = 6;
    return vipLevel['VIP_LEVEL' + level];
}
